﻿using Abp.AutoMapper;
using Paas.Core.Sys.Entities;
using Basefr.App.Dtos;
using System.Collections.Generic;

namespace Paas.App.Interface.Sys.Admin.Dtos
{
    [AutoMap(typeof(Organization))]
    public class OrganizationDto : DtoBase
    {
        public string Name { get; set; }

        public int? ParentId { get; set; }
        public string ParentName { get; set; }

        public int Level { get; set; }

        public bool IsPreDefined { get; set; }

        public List<OrganizationDto> Children { get; set; }

    }
}

